//
//  PersonView.h
//  Streaming
//
//  Created by 官琛 on 15-6-24.
//  Copyright (c) 2015年 liuxun. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MBProgressHUD.h>
@protocol PersonButton <NSObject>

- (void)present:(NSInteger)movieID;

@end

@interface PersonView : UIView<UIScrollViewAccessibilityDelegate,UITextViewDelegate>
-(instancetype)initWithFrame:(CGRect)frame perId:(NSInteger)personId;
@property (nonatomic, retain)UIImageView *backImageView;

@property(nonatomic,retain)UIScrollView *scrollView;
@property(nonatomic,retain)UILabel *nameCn;
@property(nonatomic,retain)UILabel *nameEn;
@property(nonatomic,retain)UILabel *profession;
@property(nonatomic,retain)UILabel *birthMonth;
@property(nonatomic,retain)UILabel *birthDay;
@property(nonatomic,retain)UILabel *ratingFinal;
@property(nonatomic,retain)UILabel *address;
@property(nonatomic,retain)UILabel *content;
@property(nonatomic,retain)UIButton *button1;
@property(nonatomic,assign)BOOL buttonState;
@property(nonatomic,retain)UIImageView *image;
@property(nonatomic,retain)UIImageView *unfold;

@property(nonatomic,retain)UILabel *titleLabel;
@property(nonatomic,retain)UIView *movView;
@property(nonatomic,retain)UIImageView *movImage1;
@property(nonatomic,retain)UILabel *movName1;
@property(nonatomic,retain)UILabel *movYear1;
@property(nonatomic,assign)NSInteger movieId1;
@property(nonatomic,retain)UIImageView *movImage2;
@property(nonatomic,retain)UILabel *movName2;
@property(nonatomic,retain)UILabel *movYear2;
@property(nonatomic,assign)NSInteger movieId2;
@property(nonatomic,retain)UIImageView *movImage3;
@property(nonatomic,retain)UILabel *movName3;
@property(nonatomic,retain)UILabel *movYear3;
@property(nonatomic,assign)NSInteger movieId3;
@property(nonatomic,assign)NSInteger perId;

@property (nonatomic, retain)UIButton *firstButton;
@property (nonatomic, retain)UIButton *secondButton;
@property (nonatomic, retain)UIButton *thirdButton;

@property (nonatomic, retain)MBProgressHUD *HUD;
@property (nonatomic, assign)id<PersonButton>myButtonDelegate;
@end
